<div class="login-main" ng-controller="loginController">
	<div class="login-main-bg">
<!-- div class="login-main"-->
		<div class="login-border">
			<div class="login-mar">
				<div class="logn-left">
					<img  src="../images/login/computer.png">
				</div>
				<div class="login">
					<h4 class="text-center">系统登录</h4>
					<form name="login_form" novalidate="" class="ng-pristine ng-invalid ng-invalid-required">
						<div class="form-group">
							<div class="left">
								<img class="icon-img" height="21px" src="../images/login/user.png">
							</div>
							<input type="text" 
								name="userName" 
								class="form-control right"  
								ng-model="login_userName" 
								placeholder="请输入用户名" 
								required/>
							<div class="error login-prompt" ng-show="login_form.userName.$dirty && login_form.userName.$invalid">
							    <small class="error" ng-show="login_form.userName.$error.required">请输入用户名</small>
 							</div>	
 							<span class="red login-prompt" ng-show="!login_form.userName.$error.required && loginUsername != false">{{loginMessage}}</span>
						</div>
						<div class="form-group">
							<div class="left">
								<img class="icon-img" height="21" src="../images/login/pwd.png">
							</div>
						    <input type="password" 
						    	name="password" 
						    	class="form-control right" 
						    	required 
						    	ng-model="login_password" 
						    	placeholder="请输入用户名密码" 
						    	/>
						    <div class="error login-prompt" ng-show="login_form.password.$dirty && login_form.password.$invalid">
							    <small class="error" ng-show="login_form.password.$error.required">密码不能为空</small>
 							 </div>		
							<span class="red login-prompt" ng-show="!login_form.password.$error.required && loginPassword != false || loginNull != false ">{{loginMessage}}</span>
						</div>
						
						<div class="form-group code">
							<div class="left">
								<img class="icon-img" height="21" src="../images/login/code.png">
							</div>
							<div class="right">
								<input class="form-control check_input" type="text" name="validationCode" required ng-model="login_validationCode"  placeholder="请输入验证码">
								<img id="imgVerify" class="imgVerify" src="" alt="点击更换验证码"  ng-click="getVerify($event)">
							</div>	
							<div class="error login-prompt" ng-show="login_form.validationCode.$dirty && login_form.validationCode.$invalid">
							    <small class="error" ng-show="login_form.validationCode.$error.required">验证码不能为空</small> 
 							</div>	
 							<span class="red login-prompt" ng-show=" !login_form.validationCode.$error.required && loginVerification != false">{{loginMessage}}</span>
 							 
							
						</div>	
						<div class="form-group btn-radius padding-left">
							<button type="button" class="btn login-btn" ng-disabled="login_form.$dirty && login_form.$invalid" ng-click="checkSum()">登录</button>
						</div>
						<div class="form-group automatic-logon padding-left">
							<input class="left " name="rememberMe"  type="checkbox"/>
							<label class="left">记住密码</label>
							<a class="pull-right forgot-password login-a">忘记密码?</a>
						</div>
						<!--shiro:guest>  
							<a>登录</a> <a>注册</a>
						</shiro:guest>  
						<shiro:user>  
							欢迎<shiro:principal property="name"/>
						</shiro:user-->
						<!--<div class="form-group">
							<label class="create-account">还没有账户？<a class="login-a">创建账户</a></label>
						</div>				-->
					</form>
				</div>
			</div>	
		</div>
	</div>
</div>